package com.order.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.order.po.order_record;
import com.order.po.return_order_record;
import com.order.service.return_order_recordService;
import com.order.dao.return_order_recordDao;
@Service
@Transactional
public class return_order_recordServiceImpl implements return_order_recordService {
	@Autowired
	   private return_order_recordDao return_order_recordDao;
	@Override
	public List<return_order_record> get_return_record_byid(String parameter) {
		// TODO Auto-generated method stub
		return return_order_recordDao.get_return_record_byid(parameter);
	}
	@Override
	public void insert_returnrecord(List<return_order_record> list) {
		// TODO Auto-generated method stub
		for(int i=0;i<list.size();i++) {
			return_order_record o = list.get(i);
			return_order_recordDao.insert_returnrecord(o);
		}
	}

}
